import request from "@/utils/request";

//渲染
export const ArticleApi = data => {
  return request.get('/admin/interview/query', {
    params: data
  })
}
//删除
export const ArticleDelApi = id => {
  return request.delete('/admin/interview/remove', {
    data: {
      id
    }
  })
}
//添加
export const createArticle = data => {
  return request.post('/admin/interview/create', data)
}

// 编辑
export const updateArticle = data => {
  return request.put('/admin/interview/update', data)
}
